<template>
  <div class="w-full inline-flex items-center">
    <a-input v-model:value="packageString" class="flex-1" readonly />
    <a-button type="primary" size="small" class="ml-2">设置</a-button>
  </div>
</template>
<script setup lang="ts">
import { toRefs, withDefaults } from 'vue'

const props = withDefaults(
  defineProps<{
    packageString: string
  }>(),
  { packageString: '' }
)

const { packageString } = toRefs(props)
</script>
